//
//  TuCollectionViewCell.m
//  GentlemanAnime
//
//  Created by dlios on 15-7-6.
//  Copyright (c) 2015年 lanou3g.com 蓝欧科技. All rights reserved.
//

#import "TuCollectionViewCell.h"

@implementation TuCollectionViewCell

- (void)dealloc
{
    [_tuImageView release];
    [super dealloc];
}

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        self.tuImageView = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0, self.contentView.frame.size.width, self.contentView.frame.size.height)];
        self.tuImageView.contentMode = UIViewContentModeScaleToFill;
//        self.tuImageView.backgroundColor = [UIColor yellowColor];
        [self.contentView addSubview:self.tuImageView];
        [_tuImageView release];
    }
    return self;
}


/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
